package com.sy.mapper;

import com.sy.entity.CategoryCollection;
import com.sy.entity.CategoryCollectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CategoryCollectionMapper {
    long countByExample(CategoryCollectionExample example);

    int deleteByExample(CategoryCollectionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CategoryCollection record);

    int insertSelective(CategoryCollection record);

    List<CategoryCollection> selectByExample(CategoryCollectionExample example);

    CategoryCollection selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CategoryCollection record, @Param("example") CategoryCollectionExample example);

    int updateByExample(@Param("record") CategoryCollection record, @Param("example") CategoryCollectionExample example);

    int updateByPrimaryKeySelective(CategoryCollection record);

    int updateByPrimaryKey(CategoryCollection record);
}